package com.cheng.dao.appinfo;

import com.cheng.pojo.AppInfo;
import com.cheng.utils.PageUtils;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AppInfoDao {
    List<AppInfo> getAll(@Param("app") AppInfo appInfo, @Param("page") PageUtils pageUtils);

    int getCount(@Param("app") AppInfo appInfo);

    AppInfo getAppinfoById(@Param("app") AppInfo appInfo);

    int updateStatus(@Param("app") AppInfo appInfo);

    int addAppInfo(@Param("app") AppInfo appInfo);

    int existApkName(@Param("name") String apkName);
}
